#pragma once
#include <QPixmap>
#include <QSize>
#include <QPainter>
#include <QTextCodec>

class CommonUtils
{
private:
	CommonUtils() = default;

public:
	static QPixmap getRoundImage(const QPixmap &src, QPixmap &mask, QSize masksize = QSize(0, 0));
	static void loadStyleSheet(QWidget *widget, const QString &sheetName);
	static void setDefaultSkinColor(const QColor &color);
	static QColor getDefaultSkinColor();

};
